﻿/****************************************************************************
* Copyright (c) 2018Microsoft All Rights Reserved.
* CLR版本： 4.0.30319.42000
*机器名称：SHOUZHEN
*公司名称：Microsoft
*命名空间：MSD.WL.Site.Models
*文件名：  Inven
*版本号：  V1.0.0.0
*唯一标识：b29c03e6-13c8-4324-b106-57cb5ef6c16d
*当前的用户域：SHOUZHEN
*创建人：  Administrator
*电子邮箱：gsz8865784@126.com
*创建时间：2018/12/24 19:59:30

*描述：
*
*=====================================================================
*修改标记
*修改时间：2018/12/24 19:59:30
*修改人： Administrator
*版本号： V1.0.0.0
*描述：
*存货档案数据模型
*****************************************************************************/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;
using System.ComponentModel.DataAnnotations;

namespace MSD.WL.Site.Models
{
    public class Invens
    {
        public int ID { get; set; }

        [Display(Name = "存货代码")]
        [StringLength(10)]
        public string InvenCode { get; set; }

        [Display(Name ="存货名称")]
        [StringLength(40)]
        public string InvenName { get; set; }

        [Display(Name = "存货类别代码")]
        [StringLength(10)]
        public string InvenTypeCode { get; set; }

        [Display(Name = "规格型号")]
        [StringLength(30)]
        public string SpecsModel { get; set; }

        [Display(Name = "计量单位")]
        [StringLength(10)]
        public string MeaUnit { get; set; }

        [Display(Name = "参考售价")]
        [StringLength(10)]
        public string SelPrice { get; set; }

        [Display(Name = "参考进价")]
        [StringLength(10)]
        public string PurPrice { get; set; }

        [Display(Name = "最小库存")]
        [Range(1,1)]
        public int SmallStockNum { get; set; }

        [Display(Name = "最大库存")]
        [Range(1,500)]
        public int BigStockNum { get; set; }
    }
}